package cn.zhuama.org.mapper;

import cn.zhuama.basic.mapper.BaseMapper;
import cn.zhuama.basic.query.BaseQuery;
import cn.zhuama.org.domain.Department;
import cn.zhuama.org.domain.Employee;
import cn.zhuama.org.query.DepartmentQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DepartmentMapper extends BaseMapper<Department>  {
    List<Department> deptTree();

//    Department queryOne(Long id);
//
//    void save(Department department);
//
     void update(Department department);
//
//    void del(Long id);
//
//    List<Department> loadAll();
//
//    Long queryCount(DepartmentQuery query);
//
//    List<Department> queryData(DepartmentQuery query);
//
//    void patchDel(List<Long> ids);

    // Long queryCount(DepartmentQuery departmentQuery);


    //void patchDel(List<Long> ids);
}
